import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from '@/store'
import * as api from '@/api'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI)
// import { Carousel, Tabs, CarouselItem } from 'element-ui'
// Vue.use(Carousel)
// Vue.use(Tabs)
// Vue.use(CarouselItem)

import './assets/reset.css'
import './assets/resetVant.css'

Vue.config.productionTip = false

new Vue({
    beforeCreate() {
        Vue.prototype.$bus = this
        Vue.prototype.$api = api
    },
    store,
    router,
    render: h => h(App),
}).$mount('#app')
